.o_wesponsor_index {

    /*
     * COMMON
     */

    .o_wesponsor_gradient {
        background-image: linear-gradient(120deg, #875A7B, darken(#875A7B, 10%));
        opacity: 0.8;
    }

    .o_wesponsor_topbar_filters .dropdown-item {
        cursor: pointer;
    }

    /*
     * MAIN PAGE: LIST
     */

    // Sponsor card
    .o_wesponsor_card {
        .card-body {
            padding: 1rem;

            img{
                max-height: 1rem;
            }
        }

        .card-footer {
            padding: 0.75rem 1rem;
        }

        .o_wesponsor_card_header_badge {
            position: absolute;
            bottom: 0;
            width: 100%;
            padding: 0.25rem 1.25rem;
            text-align: right;
        }
        &.o_wesponsor_card_unpublished {
            opacity: 0.8;
        }

        .o_wesponsor_bg_image {
            background-size: contain;
            background-repeat: no-repeat;
            background-position:center;
        }

        // Display connect block on hover on large devices only
        .o_wesponsor_connect_button {
            z-index: 1;
            position: absolute !important;
            right: 0;
            top: 0;
            padding-top: 30%;
            margin-left: auto;
            margin-right: auto;
            width: 100%;
            height: 100%;
            text-align: center;
            background-color: rgba(0,0,0,0);

            a {
                display: none;
            }
            @include media-breakpoint-up(md) {
                &:hover {
                    cursor: pointer;
                    transition: background-color .2s linear;
                    background-color: rgba(0,0,0,.1);

                    a {
                        display: inline-block;
                    }
                }
            }
        }

    }

    /*
     * EXHIBITOR PAGE
     */

    .o_wevent_online_page_container {
        .o_wesponsor_exhibitor_aside {
            .o_wesponsor_sponsor_name {
                line-height: 1rem;
            }

            .o_wesponsor_aside_logo {
                width: 50px;
                height: 30px;
                object-fit: cover;
                object-position: top;
            }

            // Ribbon color (FIXME)
            .ribbon_Gold {
                background-color: #e3aa24 !important;
            }

            .ribbon_Silver {
                background-color: #adb5bd !important;
            }

            .ribbon_Bronze {
                background-color: #c7632a !important;
            }
        }
    }
}

.editor_enable {
    .o_wesponsor_index {
        .o_wesponsor_exhibitor_main_empty_website_descr_warning {
            /** Hide warning in edition mode */
            display: none;
        }
    }
}
